var initialdet=new Object();
var thisObject;

var InitialListProxy = Objs("model.InitialListProxy",
	Proxy,
{
	initialize: function( name,lists)
	{ 
		InitialListProxy.$super.initialize.call( this, name,lists);
		thisObject=this;
        this.loadAssets();
	},	
	
	 loadAssets:function()
	{
		$.ajax({
				type: "POST",
				url:"../services/AssetService.php?action=initialAssets",
				
				success: function(data) {	
					var assetsdata= eval('(' + data + ')');
				var searchCtra = "<option value='0'>--Choose One--</option>";
				for(i=0;i<assetsdata.search.length;i++)
				{
				 searchCtra += '<option value='+ assetsdata.search[i].asset_datafield +'>'+ assetsdata.search[i].asset_name+'</option>';
				}
				
         
				thisObject.sendNotification( NotificationNames.LOAD_SUCCESS_1, searchCtra );	
				
				
		}
		});
		},
		
});
 